package com.juhuixing.user.server.persistence.entity;

import com.juhuixing.common.config.base.BaseEntity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘猛
 * @since 2019-05-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@AllArgsConstructor
public class WxUserInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long userId;
    private String unionid;
    private String openid;
    private String profileImageUrl;
    private String nickname;
    private Integer gender;
    private String province;
    private String city;

    public static final String UNIONID = "unionid";

    public static final String OPENID = "openid";

    public static final String PROFILE_IMAGE_URL = "profile_image_url";

    public static final String NICKNAME = "nickname";

    public static final String GENDER = "gender";

    public static final String PROVINCE = "province";

    public static final String CITY = "city";

}
